﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Domain;

namespace Traceability.Infrastructure
{
    /// <summary>
    /// 数据库上下文
    /// </summary>
    public class DataDbContext : DbContext
    {
        public DataDbContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<Aquaculture_Information>  Aquaculture_Informations {  get; set; }
        public DbSet<Commodity>  Commodities {  get; set; }
        public DbSet<Deep_Processing>  Deep_Processings {  get; set; }
        public DbSet<Farm>  Farms {  get; set; }
        public DbSet<Healthcare_Information>  Healthcare_Informations {  get; set; }
        public DbSet<Picture>  Pictures {  get; set; }
        public DbSet<Processing_Plant>   Processing_Plants {  get; set; }
        public DbSet<Slaughter_House>   Slaughter_Houses {  get; set; }
        public DbSet<Slaughter_Information>   Slaughter_Informations {  get; set; }
        public DbSet<Traceback_Information>   Traceback_Informations {  get; set; }

        

    }
}
